Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

From new core setting : use shareapi_only_share_with_group_members_ex… #802

Conversation

smarinier
Copy link
Collaborator

…clude_group_list (nextcloud issue 37677)

@zak39 zak39 self-requested a review May 2, 2023 14:59
@zak39 zak39 assigned zak39 and smarinier and unassigned zak39 May 2, 2023
@zak39 zak39 added backend Modification related to backend draft Don't accept the PR labels May 4, 2023
@zak39 zak39 force-pushed the feature/nextcloud-37677/exclude-some-groups-from-sharing-with-users branch from c1ef06b to bad487e Compare February 12, 2024 09:26
@zak39
Copy link
Collaborator

zak39 commented Mar 13, 2024

Hey @smarinier 👋

I tested with @dorianne-arawa and it's okay for her.

Can you tell me if it's okay for you too ?

@zak39
Copy link
Collaborator

zak39 commented Mar 28, 2024

This PR will be for release 3.1.0 in addition to main

@zak39 zak39 force-pushed the feature/nextcloud-37677/exclude-some-groups-from-sharing-with-users branch 3 times, most recently from 6bd4957 to 346dda7 Compare March 29, 2024 17:32
Limit the search to members of the same group except for specific
groups.

I splited the code in 2 classes :

- GroupMembersOnlyChecker : To check if the checkbox for the "Allow apps
  to use the Share API" and check if groups are listed from the
multiselect.
- ShareMembersOnlyFilter : to get the members only the same group or
  excepted a few groups from the multiselect.

Return users with common groups. Except users belonging to groups listed in the drop-down list (`Settings > Share > Restrict users to only share with users in their groups > Ingore the following groups when cheking group membership`).

Signed-off-by: Baptiste Fotia <[email protected]>
@zak39 zak39 force-pushed the feature/nextcloud-37677/exclude-some-groups-from-sharing-with-users branch from b122b8e to cab2069 Compare April 4, 2024 09:53
@zak39 zak39 merged commit 37b241c into main Apr 4, 2024
6 checks passed
@zak39 zak39 deleted the feature/nextcloud-37677/exclude-some-groups-from-sharing-with-users branch April 4, 2024 10:08
zak39 added a commit that referenced this pull request Apr 4, 2024
I added these PR :

- #948
- #949
- #950
- #951
- #953
- #802

Signed-off-by: Baptiste Fotia <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Modification related to backend draft Don't accept the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants